﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="SubmeterPedido.aspx.cs" Inherits="SubmeterPedido" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
    <div id="colOne">
        <div id="logo">
            <h1><a href="Home.aspx">StaffSCHED</a></h1>
            <h2><a href="Home.aspx">Escalonamento de pessoal</a></h2>
        </div>
        <div class="box">
            <h3>Informações</h3>
            <ul class="bottom">
                <li class="first"><a href="Home.aspx">Home</a></li>
                <li><a href="Informacao.aspx">Informação</a></li>
                    <li><a href="Autores.aspx">Autores</a></li>
                    
            </ul>
        </div>
        <div class="box">
        <h3>Funcionalidades</h3>
            <asp:Panel ID="Menu_Funcionalidades" runat="server" />
        </div>
    </div>
    <div id="colTwo">
        <asp:Panel ID="PanelMsg" runat="server" />
        <h2>Submeter Pedido</h2>
        <asp:Panel ID="PanelEscolherCliente" runat="server" Visible="false">
            <h3>Cliente</h3>
            <asp:Label ID="label" runat="server" Text="Introduza o email do cliente:" Height="25"/>
            <asp:TextBox ID="txtEmail" runat="server" Height="25" Width="300"/>&nbsp;
            <asp:Button ID="buttonOK" runat="server" TExt="OK" Height="25" 
                onclick="buttonOK_Click"/>
        </asp:Panel>
        <asp:Panel ID="PanelSeleccionarPedido" runat="server" Visible="false">
            <div class="box">
                <h3>Primeira Linha Telefónica</h3>
                <asp:Panel ID="panelPrimeiraLinha" runat="server" BorderStyle="None">  
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false">
                        <Columns>
                            <asp:BoundField DataField="data_entrada_pedido" HeaderText="Data de Entrada do Pedido" />
                            <asp:BoundField DataField="data" HeaderText="Data de Realização" />
                        </Columns>
                    </asp:GridView>
                </asp:Panel>
                <asp:Panel ID="panelBotoes1" runat="server" BorderStyle="None" HorizontalAlign="Left">
                    <asp:Button ID="BotaoInstalarPrimeira" runat="server" onclick="ButtonSubmeter_Click" Text="Instalar" Width="87px" Visible="false"/>
                    <asp:Button ID="BotaoAnularPrimeira" runat="server" onclick="ButtonSubmeter_Click" Text="Anular" Width="87px" Visible="false"/>
                    <asp:Button ID="BotaoRepararPrimeira" runat="server" onclick="ButtonSubmeter_Click" Text="Reparar" Width="87px" Visible="false"/>
                </asp:Panel>
            </div>
            <div class="box">
                <h3>Segunda Linha Telefónica</h3>
                <asp:Panel ID="panelSegundaLinha" runat="server" BorderStyle="None">   
                    <%--<asp:DataGrid ID="dgrSegunda" runat="server" AutoGenerateColumns="True"/>                 --%>
                    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="false">
                        <Columns>
                            <asp:BoundField DataField="data_entrada_pedido" HeaderText="Data de Entrada do Pedido" />
                            <asp:BoundField DataField="data" HeaderText="Data de Realização" />
                        </Columns>
                    </asp:GridView>
                </asp:Panel>
                <asp:Panel ID="panelBotoes2" runat="server" BorderStyle="None" HorizontalAlign="Left">
                    <asp:Button ID="BotaoInstalarSegunda" runat="server" onclick="ButtonSubmeter_Click" Text="Instalar" Width="87px" Visible="false"/>
                    <asp:Button ID="BotaoAnularSegunda" runat="server" onclick="ButtonSubmeter_Click" Text="Anular" Width="87px" Visible="false"/>
                    <asp:Button ID="BotaoRepararSegunda" runat="server" onclick="ButtonSubmeter_Click" Text="Reparar" Width="87px" Visible="false"/>
                </asp:Panel>
            </div>
            <div class="box">
                <h3>Linha de Internet</h3>
                <asp:Panel ID="panelInternet" runat="server" BorderStyle="None">                    
                    <%--<asp:DataGrid ID="dgrInternet" runat="server" AutoGenerateColumns="True"/>                 --%>
                    <asp:GridView ID="GridView3" runat="server" AutoGenerateColumns="false">
                        <Columns>
                            <asp:BoundField DataField="data_entrada_pedido" HeaderText="Data de Entrada do Pedido" />
                            <asp:BoundField DataField="data" HeaderText="Data de Realização" />
                        </Columns>
                    </asp:GridView>
                </asp:Panel>
                <asp:Panel ID="panelBotoes3" runat="server" BorderStyle="None" HorizontalAlign="Left">
                    <asp:Button ID="BotaoInstalarInternet" runat="server" onclick="ButtonSubmeter_Click" Text="Instalar" Width="87px" Visible="false"/>
                    <asp:Button ID="BotaoAnularInternet" runat="server" onclick="ButtonSubmeter_Click" Text="Anular" Width="87px" Visible="false"/>
                    <asp:Button ID="BotaoRepararInternet" runat="server" onclick="ButtonSubmeter_Click" Text="Reparar" Width="87px" Visible="false"/>
                </asp:Panel>
            </div>
        </asp:Panel>
    </div>
</asp:Content>


